RocketLazyLoadPlugin\Dependencies\RocketLazyload\Image B

Total Complexity 86
Dependencies 0
Dependents 3
Total lines 637
Lines of code 338
Logical lines of code 194
Comment lines 195
Methods 19
Properties 0

Methods 19

Method Rating Maintainability Complexity Lines of code
convertSmilies()
A
49 13 28
lazyloadPictures()
A
43 11 49
lazyloadBackgroundImages()
A
45 8 40
replaceImage()
S
50 7 29
translateSmiley()
S
53 6 19
addLazyClass()
S
55 5 20
lazyloadImages()
S
55 5 19
canLazyload()
S
58 5 16
isExcluded()
S
60 5 14
getClasses()
S
59 4 15
trimOuterQuotes()
S
63 3 12
getAttributeQuotes()
S
66 3 8
getPlaceholder()
S
68 3 6
getExcludedAttributes()
S
52 1 29
normalizeClasses()
S
66 2 8
stringToArray()
S
67 2 8
getExcludedSrc()
S
66 1 10
noscript()
S
80 1 3
lazyloadResponsiveAttributes()
S
72 1 5